package com.example.utils;

/**
 * Created by hldev on 17-2-8.
 */
public class DemoException extends RuntimeException {
    private String errorMessage;

    public DemoException(String errMsg) {
        super(errMsg);
        this.errorMessage = errMsg;
    }

    public DemoException(String message, Throwable cause) {
        super(message, cause);
    }

    public DemoException(Throwable cause) {
        super(cause);
    }

    protected DemoException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
